package com.sand.feign;

import com.sand.dto.supplier.PurchaseAll;
import com.sand.result.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("juao-supplier")
public interface PurchaseFeign {


    /**
     * 查看采购详细
     */
    @PostMapping("/purchase/all")
    public ResponseResult<PurchaseAll> all(@RequestBody Integer purchaseid);


}
